package com.flamingo.xiaomiweather.logic.network;

import com.flamingo.xiaomiweather.XiaomiWeatherApplication;
import com.flamingo.xiaomiweather.logic.model.PlaceResponse;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface PlaceService {
    @GET("v2.6/" + XiaomiWeatherApplication.TOKEN + "/{query}/weather?dailysteps=3&hourlysteps=48")
    Call<PlaceResponse> searchPlaces(@Path("query") String query);
}
